﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Restaurant.Model
{
    public partial class Staff : BaseModel
    {
        public Staff()
        { }
        #region Model
        private long _id;
        private Guid _staffid;
        private Guid _subcompany_id;
        private string _name;
        private string _uid;
        private string _password;
        private string _phone;
        private string _remarks;
        private DateTime? _creationtime = DateTime.Now;
        private string _operator;
        private DateTime? _modificationtime;
 
        /// <summary>
        /// 
        /// </summary>
        public long Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 主键
        /// </summary>
        public Guid StaffId
        {
            set { _staffid = value; }
            get { return _staffid; }
        }
        /// <summary>
        /// 关联公司id
        /// </summary>
        public Guid SubCompany_Id
        {
            set { _subcompany_id = value; }
            get { return _subcompany_id; }
        }
        /// <summary>
        /// 姓名
        /// </summary>
        public string Name
        {
            set { _name = value; }
            get { return _name; }
        }
        /// <summary>
        /// 账号
        /// </summary>
        public string UId
        {
            set { _uid = value; }
            get { return _uid; }
        }
        /// <summary>
        /// 密码
        /// </summary>
        public string PassWord
        {
            set { _password = value; }
            get { return _password; }
        }
        /// <summary>
        /// 手机号
        /// </summary>
        public string Phone
        {
            set { _phone = value; }
            get { return _phone; }
        }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remarks
        {
            set { _remarks = value; }
            get { return _remarks; }
        }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreationTime
        {
            set { _creationtime = value; }
            get { return _creationtime; }
        }
        /// <summary>
        /// 操作人
        /// </summary>
        public string Operator
        {
            set { _operator = value; }
            get { return _operator; }
        }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? ModificationTime
        {
            set { _modificationtime = value; }
            get { return _modificationtime; }
        }
 
        #endregion Model
    }
}